import serveUrl from '@/config/serverAddress'; // 接口域名列表
import axios from '@/config/http'; // 导入http中创建的axios实例
const administration = {
  //  * @api{property} 获取 税务列表
  GetAdministrationList (params) {
    return axios.get(`${serveUrl.jc}/Tax/GetBook_Fx_List`, { params });
  },
  //  * @api{property} 获取 税务列表
  OpenAdministrationList (params) {
    return axios.get(`${serveUrl.jc}/Tax/Open_FxBs`, { params });
  },
  //  * @api{property} 获取 编辑链接
  GetCustomerInfoUrl (params) {
    return axios.get(`${serveUrl.jc}/Tax/GetCustomerInfoUrl`, { params });
  },
  //  * @api{property} 判断是否编辑成功
  judgeEditNsrType (params) {
    return axios.get(`${serveUrl.jc}/Tax/EditNsrType`, { params });
  },
  //  * @api{property} 单个账套点击报税按钮
  GetClickTheTaxUrl (params) {
    return axios.get(`${serveUrl.jc}/Tax/GetBSUrl`, { params });
  },
  //  * @api{property} 批量报税按钮
  GetBatchDeclareGoodsUrl (params) {
    return axios.post(`${serveUrl.jc}/Tax/GetBatchBSUrl`, params);
  },
  //  * @api{property} 报税确认
  EdiBatchBsStatus (params) {
    return axios.post(`${serveUrl.jc}/Tax/EdiBatchBsStatus`, params);
  },
  //  * @api{property} 批量采集
  GetBatchCJUrl (params) {
    return axios.post(`${serveUrl.jc}/Tax/GetBatchCJUrl`, params);
  },
  //  * @api{property} 报税状态table
  GetTaxStatus (params) {
    return axios.get(`${serveUrl.jc}/Tax/GetTaxStatus`, { params });
  }
};

export default administration;
